package com.ellecity06.cwhiskymall.bean.response


import androidx.annotation.Keep

@Keep
data class AppMenuSettingRespone(
    val bannerSettingVOS: List<BannerSettingVOS>?,
    val settingWebLayoutVOS: List<SettingWebLayoutVOS>?
) {
    @Keep
    data class BannerSettingVOS(
        val bannerId: Int?,
        val id: Int?,
        val imageUrl: String?,
        val keyWord: String?,
        val sort: Int?,
        val type: Int?
    )

    @Keep
    data class SettingWebLayoutVOS(
        val code: String?,
        val detailVOList: List<DetailVO>?,
        val goodsVOList: List<GoodsVO>?,
        val isTakeGoods: Int?,
        val menuName: String?,
        val position: Int?,
        val settingType: Int?,
        val sort: Int?
    ) {
        @Keep
        data class DetailVO(
            val createBy: String?=null,
            val createTime: String?=null,
            val customImage: String?=null,
            val id: Int?=0,
            val image: String?=null,
            val name: String?=null,
            val settingId: Int?=0,
            val settingType: Int?=0,
            val sort: Int?=0,
            val updateBy: String?=null,
            val updateTime: String?=null,
            val webLayoutId: Int?=0,
            val subtitle:String?=null,
            /**
             * 跳转类型 0 - 专题页 1 - 新人首单 2 - 酒神专区
             */
            var myJumpType:Int = 0,
            var checked:Boolean = false
        )

        @Keep
        data class GoodsVO(
            val createBy: String?,
            val createTime: String?,
            val customImage: String?,
            val goodSpuid: Int?,
            val id: Int?,
            val salesPrice: Double?,
            val sort: Int?,
            val spuImage: String?,
            val spuName: String?,
            val updateBy: String?,
            val updateTime: String?,
            val webLayoutId: Int?,
            /**
             * 商品来源 0 --自营
             */
            val goodsSource:Int?,
            /**
             * 贡献金
             */
            val contribution:String?,
            val spuStock:Int?,
            /**
             * 市场价
             */
            val marketPrice:Double?
        )
    }
}